/*
 * @Description:
 * @Author: shilinzhou
 * @Date: 2023-12-27 13:33:40
 * @LastEditors: shilinzhou
 * @LastEditTime: 2024-01-12 16:45:51
 */
// <-------------------- 任务视图

// 请求参数
export interface SearchParams {
    orderNumber?: string;
    itemNumber?: string;
    itemName?: string;
    orderStatus?: string;
    setStatus?: string;
    orderDeliveryTime?: string;
    plannedStartTime?: string;
    plannedEndTime?: string;
}

export interface getTaskListParams extends SearchParams {
    size: number;
    current: number;
}

/**
 * 响应参数
 */
export interface getTaskListResponse {
    current: number;
    records: record[];
    size: number;
    total: number;
}
/**
 * 表格数据
 */

export interface record {
    auxiliaryDataCoding: string;
    auxiliaryDataName: string;
    actualCompletionTime: Date;
    completedQuantity: number;
    createTime: Date;
    deviationDays: number;
    id: number;
    itemName: string;
    itemNumber: string;
    orderDeliveryTime: Date;
    orderNumber: string;
    orderProgress: number;
    orderQuantity: number;
    orderStatus: string;
    plannedEndTime: Date;
    plannedStartTime: Date;
    scheduledQuantity: number;
    taskViewKittingVO: {
        number: number;
        taskViewNestingStatus: 'UN_KITTING' | 'PART_KITTING' | 'KITTING';
    };
    unfinishedQuantity: number;
    unscheduledQuantity: number;
    updateTime: Date;
}
// 任务视图 -------------------->
